// pages/similar_resumes/similar_resumes.js
const app = getApp(), core = require('../../utils/core'), util = require('../../utils/util');
Page({

  /**
   * 页面的初始数据
   */
  data: {
    resumesMore: {page:1},
    resumes: [],
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.setData({resumeId:options.id});
    this.fetch();
  },
  fetch() {
    util.fetch(this,'/resume/similar_resumes',{id:this.data.resumeId},'resumesMore','resumes','resumes');
  }


});
